from app import create_app, db
from app.models import Project, TestCase, TestResult, Report, DataSource
from flask_migrate import Migrate

# 创建应用实例
app = create_app()

# 初始化迁移
migrate = Migrate(app, db)

if __name__ == '__main__':
    app.run(debug=True)